using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Tpro6Container.Ctrl
{
    public partial class WebContainer : UserControl
    {
        private string _URL = string.Empty;
        private string _Name = string.Empty;
        
        public WebContainer()
        {
            InitializeComponent();
        }

        public void FillWeb(string URL, string Name)
        {
            this.webBrowser1.Navigate(URL);
            this._Name = Name;
            this._URL = URL;
        }

        public string URL
        {
            get { return _URL; }
        }

        public string PageName
        {
            get { return _Name; }
        }
    }
}
